/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ExchangeEnum extends StringEnum
{
    public static final String TT_VALUE = "0";
    public static final String GENERALRECEIPT_VALUE = "1";
    public static final String BILLS_VALUE = "2";
    public static final String BUYOUT_VALUE = "3";
    public static final String COMEOUT_VALUE = "4";
    public static final String YAHUITT_VALUE = "5";

    public static final ExchangeEnum tt = new ExchangeEnum("tt", TT_VALUE);
    public static final ExchangeEnum generalReceipt = new ExchangeEnum("generalReceipt", GENERALRECEIPT_VALUE);
    public static final ExchangeEnum bills = new ExchangeEnum("bills", BILLS_VALUE);
    public static final ExchangeEnum buyout = new ExchangeEnum("buyout", BUYOUT_VALUE);
    public static final ExchangeEnum comeOut = new ExchangeEnum("comeOut", COMEOUT_VALUE);
    public static final ExchangeEnum yahuitt = new ExchangeEnum("yahuitt", YAHUITT_VALUE);

    /**
     * construct function
     * @param String exchangeEnum
     */
    private ExchangeEnum(String name, String exchangeEnum)
    {
        super(name, exchangeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ExchangeEnum getEnum(String exchangeEnum)
    {
        return (ExchangeEnum)getEnum(ExchangeEnum.class, exchangeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ExchangeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ExchangeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ExchangeEnum.class);
    }
}